package org.example.MedicalCrowdsourcing.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * 提交数据请求DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SubmitDataRequest {
    
    @NotNull(message = "数据不能为空")
    private Map<String, Object> data;
} 